warn

open fun warn(message: String)

Logs a WARNING message.

Parameters

message

the message to log


open fun warn(message: String, arguments: Array<Any>)

Logs a WARNING message with the given arguments.

Parameters

message

the message to log

arguments

the array of arguments to the message


open fun warn(message: String, exception: Throwable)

Logs a WARNING message with the given exception.

Parameters

message

the message to log

exception

the Throwable associated with the log message


open fun warn(exception: Throwable, msgSupplier: Supplier<String>)

Logs a lazily constructed WARNING message with the given exception.

Parameters

exception

the Throwable associated with the log message

msgSupplier

a function, which when called, produces the desired log message